<%-- 
    Document   : error
    Created on : 04.01.2011, 21:21:35
    Author     : fin
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<jsp:useBean id="statusCode" scope="request" type="java.lang.Integer" />
<jsp:useBean id="message" scope="request" type="java.lang.String" />
<jsp:useBean id="exception" scope="request" type="java.lang.Throwable" />

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Error <c:out value="(${statusCode}) ${message}"/></title>
    </head>
    <body>
        <h1>Error <c:out value="(${statusCode}) ${message}"/></h1>
        <tiles:insertDefinition name="component.showException">
            <tiles:putAttribute name="exception" value="${exception}"/>
        </tiles:insertDefinition>
    </body>
</html>
